<!DOCTYPE html>
<!-- validator.html
     A document for validator.js
     -->
<html lang = "en">
  <head>
    <title> Illustrate form input validation> </title>
    <meta charset = "utf-8" />
    <script type = "text/javascript"  src = "validator.js" >
    </script>
  </head>
  <body>
    <h3> Customer Information </h3>
    <form action = "">
      <p>
        <label>
          <input type = "text"  id = "custName" />
          Name (last name, first name, middle initial)
        </label>
        <br /><br />

        <label>
          <input type = "text"  id = "phone" />
          Phone number (ddd-ddd-dddd)
        </label>
        <br /><br />
        <input type = "reset"  id = "reset" />
        <input type = "submit"  id = "submit" />
      </p>
    </form>
    <script type = "text/javascript"  src = "validatorr.js">
    </script>
  </body>
</html>
